package com.chwn.curiousdiary.ui.user.contract;

import com.chwn.curiousdiary.bean.MessageBean;
import com.chwn.harulib.mvp.BasePresenter;
import com.chwn.harulib.mvp.BaseView;

import java.util.List;

/**
 * Created by Myshikin on 2017/3/24.
 */

public interface MessageContract {
    interface View extends BaseView {
        void showMessageList(List<MessageBean> messageList);
    }

    abstract class Presenter extends BasePresenter<MessageContract.View> {
        public abstract void getMessageList(int page);
    }
}
